package com.wxg.guice.bb;

import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.name.Names;
import com.wxg.guice.aa.BadPlayer;
import com.wxg.guice.aa.GoodPlayer;
import com.wxg.guice.aa.Player;

public class PlayerModule implements Module{

	public void configure(Binder binder) {
		binder.bind(Player.class).annotatedWith(Names.named("Good")).to(GoodPlayer.class);
		binder.bind(Player.class).annotatedWith(Names.named("Bad")).to(BadPlayer.class);
	}

}
